package me.blankm.wslib.common;

/**
 * Author by Mr.Meng
 * created 2021/11/24
 *
 * @desc
 */

public enum ErrorCode {
    EMPTY_DATA("无数据"),
    BUSINESS_EXCEPTION("业务异常"),
    PARSE_EXCEPTION("数据格式异常"),
    DISCONNECT_EXCEPTION("连接断开");

    private String msg;

    ErrorCode(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
